package com.wlyuan.open.domain.source;

import com.wlyuan.core.domain.valueobj.TenantId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author yuanzheng
 */
@Getter
@RequiredArgsConstructor
public class SourcePattern {
    @ApiModelProperty("sourceKey")
    private final String sourceKey;

    @ApiModelProperty("类型")
    private final SourceClass sourceClass;

    @ApiModelProperty("租户ID")
    private final TenantId tenantId;

}
